package com.example.event;

import org.springframework.context.ApplicationEvent;

public class GenericEvent<T> extends ApplicationEvent {
    private T content;

    public GenericEvent(Object source, T content) {
        super(source);
        this.content = content;
    }

    public T getContent() {
        return content;
    }
}
